home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / ipcolor.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.6 KB  |  43 lines

  1. /* Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: ipcolor.h,v 1.2 2000/09/19 19:00:46 lpd Exp $ */
  20. /* Interpreter definitions for Pattern color */
  21.  
  22. #ifndef ipcolor_INCLUDED
  23. #  define ipcolor_INCLUDED
  24.  
  25. /*
  26.  * Define the structure for remembering the pattern dictionary.
  27.  * This is the "client data" in the template.
  28.  * See zgstate.c (int_gstate) or zfont2.c (font_data) for information
  29.  * as to why we define this as a structure rather than a ref array.
  30.  */
  31. typedef struct int_pattern_s {
  32.     ref dict;
  33. } int_pattern;
  34.  
  35. #define private_st_int_pattern()    /* in zpcolor.c */\
  36.   gs_private_st_ref_struct(st_int_pattern, int_pattern, "int_pattern")
  37.  
  38. /* Create an interpreter pattern structure. */
  39. int int_pattern_alloc(P3(int_pattern **ppdata, const ref *op,
  40.              gs_memory_t *mem));
  41.  
  42. #endif /* ipcolor_INCLUDED */
  43.